Re: Perl and AutoCommit

Поиск
Список
Период
Сортировка
От Dan Sugalski
Тема Re: Perl and AutoCommit
Дата
Msg-id a06210200be6bfbf72975@[192.168.0.8]
обсуждение исходный текст
Ответ на Perl and AutoCommit  (Madison Kelly <linux@alteeve.com>)
Ответы Re: Perl and AutoCommit  (Madison Kelly <linux@alteeve.com>)
Список pgsql-general
At 12:31 AM -0500 3/27/05, Madison Kelly wrote:
>Hi all,
>
>   After looking at the postres and perl docs plus some Googling I
>can't seem to find the answer I am looking for. I hope maybe someone
>here can help. ^_^
>
>   What I am trying to do is turn off autocommit for one particular
>task in my program. I realize I can turn off AutoCommit when I
>connect to the database but in this case that is not what I want to
>do. This is a one-off task.

Set the AutoCommit attribute of the database handle. Pull up the docs
for DBI and search for the "Database Handle Attributes" section.
--
                Dan

--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk

В списке pgsql-general по дате отправления:

Предыдущее
От: Szmutku Zoltán
Дата:
Сообщение: PG constraint
Следующее
От: "Sim Zacks"
Дата:
Сообщение: Re: Good Books